package com.example.chatchatbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chatchatbackend.entity.dto.Payment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
@Mapper
public interface PaymentMapper extends BaseMapper<Payment> {

    List<Payment> getAllPayment();

    void insertList(List<Payment> paymentList);

    IPage<Payment> selectAll(Page<Payment> page, Object o);

    void updatePayment(Payment payment);
}
